package com.crishne.anwo.service;
 
import java.util.List;

import com.crishne.anwo.model.Menu;
import com.crishne.anwo.model.Role;
import com.crishne.anwo.utill.PaginationUtil;
 
 
public interface RoleService {
 
    public void addRole(Role role);
    
    public void updateRole(Role role);
    
    public void deleteRole(String stRoleId);
    
    public List<Role> getAllRoles();
    
  //根据ID查询信息  
    public Role selectRoleById(String id);
    
    public Role selectRoleByName(String stRoleName);
    
    public PaginationUtil<Role> searchRoles(PaginationUtil<Role> pageConditions);
}